.class public Lcom/instagram/android/fragment/o;
.super Lcom/instagram/android/d/j/f;
.source "AbstractFeedFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/android/d/j/f",
        "<",
        "Lcom/instagram/android/model/k;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/instagram/android/fragment/d;

.field private b:Z


# direct methods
.method protected constructor <init>(Lcom/instagram/android/fragment/d;)V
    .locals 0
    .parameter

    .prologue
    .line 507
    iput-object p1, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-direct {p0}, Lcom/instagram/android/d/j/f;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/instagram/android/fragment/o;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 507
    invoke-direct {p0, p1}, Lcom/instagram/android/fragment/o;->a(Z)V

    return-void
.end method

.method private a(Z)V
    .locals 0
    .parameter

    .prologue
    .line 512
    iput-boolean p1, p0, Lcom/instagram/android/fragment/o;->b:Z

    .line 513
    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    .prologue
    const/4 v2, 0x1

    .line 554
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/d;->b(Lcom/instagram/android/fragment/d;Z)Z

    .line 555
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-static {v0, v2}, Lcom/instagram/android/fragment/d;->c(Lcom/instagram/android/fragment/d;Z)Z

    .line 557
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/d;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 558
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/instagram/a/c;->a(Z)V

    .line 560
    :cond_0
    return-void
.end method

.method protected a(Lcom/instagram/android/d/j/j;)V
    .locals 2
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/j",
            "<",
            "Lcom/instagram/android/model/k;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 540
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    sget-object v1, Lcom/facebook/c/i/e;->b:Lcom/facebook/c/i/e;

    iput-object v1, v0, Lcom/instagram/android/fragment/d;->ab:Lcom/facebook/c/i/e;

    .line 541
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/d;->b(Lcom/instagram/android/fragment/d;Z)Z

    .line 542
    invoke-virtual {p0, p1}, Lcom/instagram/android/fragment/o;->b(Lcom/instagram/android/d/j/j;)V

    .line 544
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/feed/a/a;->notifyDataSetChanged()V

    .line 545
    invoke-super {p0, p1}, Lcom/instagram/android/d/j/f;->a(Lcom/instagram/android/d/j/j;)V

    .line 546
    return-void
.end method

.method protected a(Lcom/instagram/android/model/k;)V
    .locals 5
    .parameter

    .prologue
    const/4 v4, 0x0

    .line 517
    const-string v0, "%s#%s"

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/Object;

    const-string v2, "AbstractFeedFragment"

    aput-object v2, v1, v4

    const/4 v2, 0x1

    const-string v3, "FeedRequestCallbacks#onSuccess"

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Lcom/facebook/e/b/g;->b(Ljava/lang/String;[Ljava/lang/Object;)V

    .line 518
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    sget-object v1, Lcom/facebook/c/i/e;->a:Lcom/facebook/c/i/e;

    iput-object v1, v0, Lcom/instagram/android/fragment/d;->ab:Lcom/facebook/c/i/e;

    .line 519
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-static {v0, v4}, Lcom/instagram/android/fragment/d;->b(Lcom/instagram/android/fragment/d;Z)Z

    .line 520
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-virtual {p1}, Lcom/instagram/android/model/k;->b()Lcom/instagram/android/model/d;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/d;->a(Lcom/instagram/android/fragment/d;Lcom/instagram/android/model/d;)Lcom/instagram/android/model/d;

    .line 521
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-virtual {p1}, Lcom/instagram/android/model/k;->c()Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/fragment/d;->a(Ljava/util/List;)V

    .line 523
    iget-boolean v0, p0, Lcom/instagram/android/fragment/o;->b:Z

    if-eqz v0, :cond_1

    .line 524
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {p1}, Lcom/instagram/android/model/k;->a()Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a;->a(Ljava/util/ArrayList;)V

    .line 525
    iput-boolean v4, p0, Lcom/instagram/android/fragment/o;->b:Z

    .line 530
    :goto_0
    invoke-virtual {p1}, Lcom/instagram/android/model/k;->d()Lcom/instagram/h/b/b;

    move-result-object v0

    .line 531
    if-eqz v0, :cond_0

    .line 532
    iget-object v1, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-virtual {v1, v0}, Lcom/instagram/android/fragment/d;->a(Lcom/instagram/h/b/b;)V

    .line 535
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-virtual {p1}, Lcom/instagram/android/model/k;->e()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/fragment/d;->a(Z)V

    .line 536
    return-void

    .line 527
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/d;->Y()Lcom/instagram/android/feed/a/a;

    move-result-object v0

    invoke-virtual {p1}, Lcom/instagram/android/model/k;->a()Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/feed/a/a;->b(Ljava/util/ArrayList;)V

    goto :goto_0
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 507
    check-cast p1, Lcom/instagram/android/model/k;

    invoke-virtual {p0, p1}, Lcom/instagram/android/fragment/o;->a(Lcom/instagram/android/model/k;)V

    return-void
.end method

.method public b()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 564
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-static {v0, v1}, Lcom/instagram/android/fragment/d;->c(Lcom/instagram/android/fragment/d;Z)Z

    .line 566
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/d;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 567
    invoke-static {}, Lcom/instagram/a/c;->a()Lcom/instagram/a/c;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/a/c;->a(Z)V

    .line 569
    :cond_0
    return-void
.end method

.method protected b(Lcom/instagram/android/d/j/j;)V
    .locals 1
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/instagram/android/d/j/j",
            "<",
            "Lcom/instagram/android/model/k;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 549
    iget-object v0, p0, Lcom/instagram/android/fragment/o;->a:Lcom/instagram/android/fragment/d;

    invoke-virtual {v0}, Lcom/instagram/android/fragment/d;->ai()V

    .line 550
    return-void
.end method
